﻿using System.Net;

namespace MiniProxy
{
    public class ProxyState
    {
        public WebRequest Req { get; private set; }
        public HttpListenerResponse Resp { get; private set; }
        public IProxyHook Hook { get; private set; }

        public ProxyState(WebRequest request, HttpListenerResponse channelBack, IProxyHook hook)
        {
            this.Req = request;
            this.Resp = channelBack;
            this.Hook = hook;
        }
    }
}
